package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 区块链网络信息对象 t_pinko_blocknetwork
 * 
 * @author ruoyi
 * @date 2024-06-07
 */
public class PinkoBlocknetwork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 网络图标Icon */
    @Excel(name = "网络图标Icon")
    private String networkIcon;

    /** 网络名称 */
    @Excel(name = "网络名称")
    private String networkName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String rpcUrl;

    /** 链ID */
    @Excel(name = "链ID")
    private String chainId;

    /** 货币符号 */
    @Excel(name = "货币符号")
    private String currencySymbols;

    /** 区块链浏览器URL */
    @Excel(name = "区块链浏览器URL")
    private String blockbrowserUrl;

    /** 是否启用：0：未启用 1：启用 */
    @Excel(name = "是否启用：0：未启用 1：启用")
    private Integer isEnable;

    /** 删除标识  0：未删除 1：删除 */
    private Integer delFlag;

    /** 创建者 */
    @Excel(name = "创建者")
    private Long creator;

    /** 创建者姓名 */
    @Excel(name = "创建者姓名")
    private String creatorName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    private Long version;

    /** 更新者 */
    @Excel(name = "更新者")
    private Long updater;

    /** 更新者姓名 */
    @Excel(name = "更新者姓名")
    private String updaterName;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNetworkIcon(String networkIcon)
    {
        this.networkIcon = networkIcon;
    }

    public String getNetworkIcon()
    {
        return networkIcon;
    }
    public void setNetworkName(String networkName)
    {
        this.networkName = networkName;
    }

    public String getNetworkName()
    {
        return networkName;
    }
    public void setRpcUrl(String rpcUrl)
    {
        this.rpcUrl = rpcUrl;
    }

    public String getRpcUrl()
    {
        return rpcUrl;
    }
    public void setChainId(String chainId)
    {
        this.chainId = chainId;
    }

    public String getChainId()
    {
        return chainId;
    }
    public void setCurrencySymbols(String currencySymbols)
    {
        this.currencySymbols = currencySymbols;
    }

    public String getCurrencySymbols()
    {
        return currencySymbols;
    }
    public void setBlockbrowserUrl(String blockbrowserUrl)
    {
        this.blockbrowserUrl = blockbrowserUrl;
    }

    public String getBlockbrowserUrl()
    {
        return blockbrowserUrl;
    }
    public void setIsEnable(Integer isEnable)
    {
        this.isEnable = isEnable;
    }

    public Integer getIsEnable()
    {
        return isEnable;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }
    public void setCreator(Long creator)
    {
        this.creator = creator;
    }

    public Long getCreator()
    {
        return creator;
    }
    public void setCreatorName(String creatorName)
    {
        this.creatorName = creatorName;
    }

    public String getCreatorName()
    {
        return creatorName;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setVersion(Long version)
    {
        this.version = version;
    }

    public Long getVersion()
    {
        return version;
    }
    public void setUpdater(Long updater)
    {
        this.updater = updater;
    }

    public Long getUpdater()
    {
        return updater;
    }
    public void setUpdaterName(String updaterName)
    {
        this.updaterName = updaterName;
    }

    public String getUpdaterName()
    {
        return updaterName;
    }
    public void setUpdateDate(Date updateDate)
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate()
    {
        return updateDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("networkIcon", getNetworkIcon())
                .append("networkName", getNetworkName())
                .append("rpcUrl", getRpcUrl())
                .append("chainId", getChainId())
                .append("currencySymbols", getCurrencySymbols())
                .append("blockbrowserUrl", getBlockbrowserUrl())
                .append("isEnable", getIsEnable())
                .append("delFlag", getDelFlag())
                .append("creator", getCreator())
                .append("creatorName", getCreatorName())
                .append("createDate", getCreateDate())
                .append("version", getVersion())
                .append("updater", getUpdater())
                .append("updaterName", getUpdaterName())
                .append("updateDate", getUpdateDate())
                .toString();
    }
}
